﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;

namespace Ruleweaver.Rules.CheckMethods
{
	public sealed class IsPercentageMethod : RuleweaverNumberCheckMethod
	{
		protected override IEnumerable<Type> TargetTypes
		{
			get
			{
				yield return typeof(int);
				yield return typeof(long);
			}
		}

		protected override string MethodName
		{
			get { return "IsPercentage"; }
		}
	}
}